#include <iostream>
#include <unistd.h>
#include <sys/types.h>
#include <sys/syscall.h>

int main(int argc,char** argv){
    std::cout << syscall(SYS_gettid) << std::endl;  //获取线程id
    return 0;
}
